
<style>
  :not(:defined) {
      display: none;
  }
  #export_box:host{
    border:1px solid #191919;
  }
  /* Force the scroll bar to appear so we see it hide when overlay opens. */
  body::-webkit-scrollbar {
      background: lightgray;
  }

  body::-webkit-scrollbar-thumb {
      background: darkgray;
  }
 
  
  #top{
        background: var(--icon-bg-color);
        text-align: center; 
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        position: relative;
        border: none;
        padding: 2px;
    }
    #top img{
        position: absolute;
        right: 10px;
        top: 3px;
        cursor: pointer;
    }
    #container{
      border: none;
      background-color: var(--main-bg-color);
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;
      width: 950px;
      height:700px;
      z-index: 2;
      max-height:800px;
      overflow-y: auto;
      justify-content: center;
      user-select:none;
  }
 
  #carousel{
    width: 950px;
    height:700px;
    position:absolute;
    text-align: center;
  }
  .customArrow {
    font-size: 20px;
    padding: 0.5em;
  }
  .button{
    width: 100px;
    height:100px;
    color:white;
    text-align: center;
    background-color: black;
  }
  .button div{
    height:60px;
    width:100px;
  }
  .button>div>img{
    height:60px;
    width:60px;
  }
  .button span{
    text-align:center;height:40px;width:100px;
  }
  #loading{
    position:absolute;
    top:200px;
    left:200px;
    color:white;
    font-size: 25px;
    z-index: 9999;
  }
  #loading>span{
    bottom: 5px;
    position:absolute;
    white-space:nowrap;
  }
  .divimg{
    width: 950px;
    height:700px;
  }
  .svg *{
    cursor: pointer;
  }
</style>
<elix-dialog id="export_box" aria-label="export svg" closed>
  <div id="top"><h>图形选择</h><img src="./images/close.png" alt="" class="close"></div>
  <div id="container">
  </div>
  <div id="loading"><elix-progress-spinner style="background-color: none;"></elix-progress-spinner><span>数据加载中...请稍候</span></div>
</elix-dialog>